#include "demo_Pwm.h"
#include "tim.h"
#include "bsp_Pwm.h"
#include "sys_Delay.h"

void demo_pwm()
{
#if DEMO_PWM
    demoPwm.init();
    demoPwm.setCompare(13);
    while (1)
    {
        BSP_Delay_ms(100);
    }
#else
    BSP_Delay_ms(1000);
#endif
}
